package com.sziit.se.highconcurrency.application.mapper;

import com.sziit.se.highconcurrency.application.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dongchunkeng
 * @since 2022-09-21
 */
public interface UserMapper extends BaseMapper<User> {
    List<User> getAllData();

    Boolean insertUser(
            @Param("user_id") String userId,
            @Param("user_name") String userName,
            @Param("phone") String phone
    );

}
